libxl: add printf attribute to libxl_xs_write and fixup resulting warnings
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 14 Jul 2010 15:38:47 +0000 (16:38 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 14 Jul 2010 15:38:47 +0000 (16:38 +0100)
commit1304d52120c8c6fa9b837f25c83509aff13d60ec
treea3d9d5f87379d815077b46ac8681b094ef71523d
parent87f759dea0913d56c0b15741c144802f7954be7d
libxl: add printf attribute to libxl_xs_write and fixup resulting warnings

There is an unfortunate warning for the empty format string by default
which I workaround by adding -Wno-format-zero-length.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/Makefile
tools/libxl/libxl.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h